﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NTmdb.TestProject
{
    /// <summary>
    ///     This is a test class for FileDownloadNetworkResultTest and is intended
    ///     to contain all FileDownloadNetworkResultTest Unit Tests
    /// </summary>
    [TestClass]
    public class FileDownloadNetworkResultTest
    {
        /// <summary>
        ///     A test for FileDownloadResult Constructor
        /// </summary>
        [TestMethod]
        public void FileDownloadNetworkResultConstructorTest()
        {
            var target = new FileDownloadResult();
            Assert.IsNotNull( target );
        }

        /// <summary>
        ///     A test for FilePath
        /// </summary>
        [TestMethod]
        public void FilePathTest()
        {
            var target = new FileDownloadResult();
            string expected = Guid.NewGuid().ToString();
            target.FilePath = expected;
            string actual = target.FilePath;
            Assert.AreEqual( expected, actual );
        }
    }
}